package com.translate.web.param;
import java.math.BigDecimal;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import com.translate.web.constant.ValidateCondtionAndMessage;
import com.translate.web.param.contract.INoticeCenterAddParam;
public class NoticeCenterAddParam implements INoticeCenterAddParam {// 用户id
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
private Integer userId;
// 编辑id
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
private Integer adminId;
// 通知类型(0=订单通知,1=二次服务通知,2=开票通知,3=团队通知,4=预存通知,5=提现通知)
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_STATUS, message = ValidateCondtionAndMessage.MIN_STATUS_MSG)
@Max(value = ValidateCondtionAndMessage.MAX_STATUS, message = ValidateCondtionAndMessage.MAX_STATUS_MSG)
private Byte noticeType;
// 通知类型对应的表id
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
private Integer typeId;
// 消息状态(0=未读,1=已读)
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_STATUS, message = ValidateCondtionAndMessage.MIN_STATUS_MSG)
@Max(value = ValidateCondtionAndMessage.MAX_STATUS, message = ValidateCondtionAndMessage.MAX_STATUS_MSG)
private Byte readStatus;
// 通知标题
@NotNull
@Pattern(regexp = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION, message = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION_MSG)
private String title;
// 通知内容
@NotNull
@Pattern(regexp = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION, message = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION_MSG)
private String noticeContent;



public Integer getUserId() {
        return userId;
    }
public void setUserId(Integer userId) {
        this.userId = userId;
    }
public Integer getAdminId() {
        return adminId;
    }
public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }
public Byte getNoticeType() {
        return noticeType;
    }
public void setNoticeType(Byte noticeType) {
        this.noticeType = noticeType;
    }
public Integer getTypeId() {
        return typeId;
    }
public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }
public Byte getReadStatus() {
        return readStatus;
    }
public void setReadStatus(Byte readStatus) {
        this.readStatus = readStatus;
    }
public String getTitle() {
        return title;
    }
public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }
public String getNoticeContent() {
        return noticeContent;
    }
public void setNoticeContent(String noticeContent) {
        this.noticeContent = noticeContent == null ? null : noticeContent.trim();
    }




}